package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.CommunityComment;
import cn.wolfcode.luowowo.comment.domain.TravelComment;
import cn.wolfcode.luowowo.comment.query.TravelCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by admin on 2019/8/13.
 */
public interface ITravelCommentService {
    /**
     * 保存或修改评论
     *
     * @param comment
     */
    TravelComment saveOrUpdate(TravelComment comment);

    /**
     * 评论分页
     *
     * @param qo
     * @return
     */
    Page query(TravelCommentQuery qo);

    /**
     * 最新游记动态
     *
     * @return
     */
    List<TravelComment> list();


}
